import styled from 'styled-components'
export const Wrap = styled.div`
	.buttonList {
		margin: 10px 0;
	}
	.smsBtn {
		position: relative;
		background: #ffffff;
	}
`
export const SpaceWrapper = styled.div`
	display: flex;
	flex-direction: row;
	> * {
		margin-right: 5px;
	}
`
export const CommonMessage = styled.div`
	background: #fff;
	border: 1px solid #b3bbc3;
	font-size: 12px;
	border-radius: 6px;
	padding-top: 6px;
	overflow: hidden;
	.message-list {
		overflow-y: scroll;
		height: 260px;
		width: 280px;
	}
	li {
		padding: 0 12px;
		line-height: 32px;
		text-overflow: ellipsis;
		white-space: nowrap;
		cursor: pointer;
		overflow-x: hidden;
	}
	li:hover {
		background-color: #007ac0;
		color: #fff;
	}
	.setCommonMsg {
		padding: 0 12px;
		line-height: 32px;
		background-color: #007ac0;
		color: #fff;
		cursor: pointer;
	}
`
export const SmsModal = styled.div`
	padding-top: 15px;
	.content {
		margin: 0 30px;
	}
	.sms-wrap {
		display: flex;
	}
	.add {
		float: right;
		margin-left: 10px;
	}
	.add:hover {
		background-position: -150px -365px;
	}
	.sms-list-tip {
		display: flex;
		justify-content: space-between;
		padding: 10px 0;
	}
	.clear {
		color: #007ac0;
		text-decoration: underline;
		cursor: pointer;
	}
	.separator {
		border: medium none;
		border-bottom: 1px solid #949799;
		border-width: 1px 0;
		margin: 8px 0;
		overflow: hidden;
		width: 100%;
		margin-right: 30px;
	}
	.sms-content {
		overflow-y: scroll;
		height: 180px;
		padding: 2px 0;
	}
	li {
		padding: 8px 2px;
		height: 33px;
		cursor: pointer;
		width: 98%;
	}
	li:hover {
		background: linear-gradient(90deg, #2d8bc0, #53afe4);
		color: #fff;
	}
	li .ellipsis {
		display: inline-block;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 90%;
		overflow: hidden;
	}
	li .remove,
	li .edit {
		float: right;
	}
	li .remove {
		height: 13px;
		width: 13px;
		margin-top: 4px;
		margin-left: 6px;
		background-position: -78px -249px;
	}
	li .edit {
		height: 15px;
		width: 15px;
		margin-top: 4px;
		background-position: -128px -250px;
	}
	.sms-edit {
		height: 112px;
		display: flex;
	}
	.bg_url_mcc {
		margin-left: 20px;
		float: right;
	}
	.submit {
		background-position: -480px -335px;
		height: 30px;
		margin-left: -20px;
		width: 30px;
		position: relative;
		left: -10px;
	}
	.close {
		background-position: -480px -365px;
		height: 30px;
		left: 0;
		position: relative;
		top: 40px;
		width: 30px;
	}
`
